package com.shenghui.enterprise.base.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 模块 实体类信息
 * @Author houjh
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-06-01
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */
@ApiModel(value="模块对象", description="模块")
public class BaseModule extends Model<BaseModule> {

	private static final long serialVersionUID = 1L;

	/**
	 * 模块ID
	 */
	@ApiModelProperty(value = "模块ID")
	@TableId(value = "module_id", type = IdType.ASSIGN_UUID)
	private String moduleId;
	/**
	 * 父级ID
	 */
	@ApiModelProperty(value = "父级ID")
	private String parentId;
	/**
	 * 模块名称
	 */
	@ApiModelProperty(value = "模块名称")
	private String name;
	/**
	 * 链接
	 */
	@ApiModelProperty(value = "链接")
	private String url;
	/**
	 * 是否显示
	 */
	@ApiModelProperty(value = "是否显示")
	private String showMenu;
	/**
	 * 图片样式
	 */
	@ApiModelProperty(value = "图片样式")
	private String style;
	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	private Integer state;
	/**
	 * 排序值
	 */
	@ApiModelProperty(value = "排序值")
	private Integer orderValue;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createDate;
	/**
	 * 创建人ID
	 */
	@ApiModelProperty(value = "创建人ID")
	private String createUserId;


	public String getModuleId() {
		return moduleId;
	}

	public void setModuleId(String moduleId) {
		this.moduleId = moduleId;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getShowMenu() {
		return showMenu;
	}

	public void setShowMenu(String showMenu) {
		this.showMenu = showMenu;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getOrderValue() {
		return orderValue;
	}

	public void setOrderValue(Integer orderValue) {
		this.orderValue = orderValue;
	}

	public LocalDateTime getCreateDate() {
		return createDate;
	}

	public void setCreateDate(LocalDateTime createDate) {
		this.createDate = createDate;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	@Override
	protected Serializable pkVal() {
		return this.moduleId;
	}

}
